package com.xja.dao;

import com.xja.entity.Indent;
import com.xja.entity.Register;
import com.xja.entity.Room;
import com.xja.entity.User;
import com.xja.entity.pojo.UrByIndent;

import java.sql.SQLException;
import java.util.List;

public interface ZhsDao {
    public Integer addUser(User user)throws SQLException;
    public List<User> fingAllUser() throws  SQLException;
    public List<Room> findRoom() throws SQLException;
    public Integer findUserid(String name) throws SQLException;
    public Integer indent(Indent indent)throws SQLException;
    public  List<Indent> selecIndent(Integer userid)throws  SQLException;
    public  Integer updateroomstatus(Integer roomid) throws SQLException;
    public Integer selecRoomId(Integer userid)throws SQLException;
    public  Integer updateroomstatus1(Integer roomid) throws SQLException;
    public Integer deleteIndent(Integer userid) throws SQLException;
    public List<UrByIndent> selecIndentByName(String username)throws SQLException;
}
